<template>
	<view class="pr">
		<block v-if="!isHidAd">
			<ad unit-id="59960c6c241d1a19ca3b73af13e3f3b4" type="card"></ad>
			<view class="close-view" @tap="hidAd">关闭</view>
		</block>
	</view>
</template>

<script>
	export default {
		props: {
			// isHidAd: {
			// 	type: Boolean,
			// 	default: false
			// },
		},
		comments:{},
		components: {},
		data() {
			return {
				isHidAd:false,
				list:['59960c6c241d1a19ca3b73af13e3f3b4','9e0672550170a2a299d63f015855db43','5f83e78b3b1b2ccaf6972315edb0995a','a3d9fb77a47e3fbf238b31179c84e93a'],
			}
		},
		watch: {},
		computed: {},
		methods: {
			hidAd() {
				return
				this.isHidAd = true
			}
		},
		created() {},
		mounted() {},
	}
</script>

<style scoped>
	.close-view {
		position: absolute;
		top: 0;
		right: 24rpx;
		height: 40upx;
		line-height: 40upx;
		padding: 0 10rpx;
		color: white;
		font-size: 24rpx;
		background-color: #000000;
		opacity: 0.8;
		z-index: 10;
	}
</style>
